<!DOCTYPE html>
<html lang="zh_CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/swiper.css">
    <link rel="stylesheet" href="css/global.css">
    <script src="js/swiper.js"></script>
    <script src="js/index1.js"></script>
    <title>欢迎来到《熊熊乐园》个人网站</title>
    <style>
        html,
        body {
            position: relative;
            height: 100%;
            background: linear-gradient(200deg, #f7d694, #f8bc07);
        }

        .home-bg {
            width: 100%;
            height: 100vh;
            overflow: hidden;
        }

        .home-bg::after {
            content: '';
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            width: 100%;
            height: 100%;
        }

        .home-hd {
            background-color: #ffffff5e !important;
        }

        .home-bg h2 {
            padding: 60px;
            color: #fff;
            text-align: center;
            font-size: 26px;
        }

        .swiper {
            width: 100%;
            padding-top: 50px;
            padding-bottom: 50px;
        }

        .swiper-slide {
            background-position: center;
            background-size: cover;
            width: 400px;
            height: 300px;
        }

        .swiper-slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all .3s linear;
        }

        .swiper-slide img:hover {
            filter: brightness(120%);
        }

        .swiper-pagination-bullet-active {
            opacity: 1;
            background: #fcf37c;
        }
    </style>
</head>

<body class="home-bg">
    <header id="top-hd" class="flexbox home-hd">
        <a href="index.html" class="logo flexbox">
            <img src="img/xion.gif" width="100px" />
        </a>
        <ul class="personal-center flexbox">
            <li><a href="personalcenter.html" class="iconfont icon-wode"></a></li>
            <li><a href="login.html">登录</a> | <a href="register.html">注册</a></li>
            <li><a href="home.html" class="iconfont icon-tuichu1"></a></li>
        </ul>
    </header>
    <h2>欢迎来到《熊熊乐园》个人网站</h2>
    <div class="swiper mySwiper">
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <img src="img/a1.jpg" />
            </div>
            <!-- 省略 -->
            <div class="swiper-slide">
                <img src="img/caodi.png" />
            </div>
            <div class="swiper-slide">
                <img src="img/douban1.png" />
            </div>
            <div class="swiper-slide">
                <img src="img/haibao3.jpg" />
            </div>
            <div class="swiper-slide">
                <img src="img/new.jpg" />
            </div>
            <div class="swiper-slide">
                <img src="img/new6.jpg" />
            </div>
            <div class="swiper-slide">
                <img src="img/new2.jpg" />
            </div>
            <div class="swiper-slide">
                <img src="img/new9.jpg" />
            </div>
            <div class="swiper-slide">
                <img src="img/new4.jpg" />
            </div>
            <div class="swiper-slide">
                <img src="img/new10.jpg" />
            </div>
            <div class="swiper-slide">
                <img src="img/new7.jpg" />
            </div>
            <div class="swiper-slide">
                <img src="img/new8.jpg" />
            </div>
        </div>
        <div class="swiper-pagination"></div>
    </div>
    <!-- Initialize Swiper -->
    <script>
        var swiper = new Swiper(".mySwiper", {
            effect: "coverflow",
            grabCursor: true,
            centeredSlides: true,
            slidesPerView: "auto",
            coverflowEffect: {
                rotate: 50,
                stretch: 0,
                depth: 100,
                modifier: 1,
                slideShadows: true,
            },
            pagination: {
                el: ".swiper-pagination",
            },
        });
    </script>
</body>

</html>